ComponentOne FlexGrid for UWP
C1.UWP Assembly / C1.Xaml Namespace / Extensions Class / SetBinding Method / SetBinding<T>(FrameworkElement,DependencyProperty,T,Expression<Func<T,Object>>) Method
Type of the source
The target.
The dependency property which will be set.
The source.
Expression that returns a property of the source object.

In This Topic
    SetBinding<T>(FrameworkElement,DependencyProperty,T,Expression<Func<T,Object>>) Method
    In This Topic
    Sets the binding if the dependency property has not been set previously and the style of the element don't set the property.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub SetBinding(Of T)( _
       ByVal target As FrameworkElement, _
       ByVal dp As DependencyProperty, _
       ByVal source As T, _
       ByVal expr As Expression(Of Func(Of T,Object)) _
    ) 

    Parameters

    target
    The target.
    dp
    The dependency property which will be set.
    source
    The source.
    expr
    Expression that returns a property of the source object.

    Type Parameters

    T
    Type of the source
    See Also